<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>
    // 原子表[123456]表示1或2或3或4或5或6
    // 原子组()
    let reg = /[123456]/
    let reg1 = /(12|34)/
    let hd = "1212121134"
    console.log(hd.match(reg))
    console.log(hd.match(reg1))
</script>
</html>
